Specifically look in the home dir for configuration
authorAlex Crichton <alex@alexcrichton.com>
Fri, 21 Nov 2014 17:36:18 +0000 (09:36 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 21 Nov 2014 17:37:46 +0000 (09:37 -0800)
commitfb1590e8be823ad5625eb5f05e980c88a3cccc51
treeee13a6b7eec0709a9aef3aae93a84b60d92fab74
parent1bdfb25de616f23c1e37d27a454cab73cf9cc2e0
Specifically look in the home dir for configuration

Some workspaces, such as windows, often have the home directory not in the
hierarchy of where projects live, which means that configuration may not work by
default. The home directory, however, is already singled out for `cargo login`
and it's pretty semantically special, so this commit ensures that we always look
at the home directory for configuration if it exists.

Closes #933
src/cargo/util/config.rs
tests/support/registry.rs